<script type="text/javascript">
function show(){
	window.location.href='/koperasi/index.php/Tabungan/cetak_laporan_simpanan/'+$('#tahun').val();
}
</script>
<div style="width:85%" >
<div id="steps">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'simpanan-laporan-form',
	'enableAjaxValidation'=>false,
	'htmlOptions'=>array('target'=>'_blank'),
)); 
?>
<fieldset class="step">
<p class="row">
<label>Pilih Tahun : </label>
<select name="tahun" id="tahun">
<option value="<?php echo date('Y')?>"><?php echo date('Y')?></option>
<option value="<?php echo date('Y')-1?>"><?php echo date('Y')-1?></option>
<option value="<?php echo date('Y')-2?>"><?php echo date('Y')-2?></option>
</select>
</p>
<p class="submit">
		<button id="registerButton" type="submit" >Cetak</button>&nbsp;
	</p>
</fieldset>
<?php $this->endWidget(); ?>
</div>